export const DB_URL = "mongodb://127.0.0.1:27017/student";
export const defaultSchemaExtend = {
  createTime: {
    type: Date,
    default: Date.now,
  },
  updateTime: {
    type: Date,
    default: Date.now,
  },
};

export const defaultSchemaOptions = {
  timestamps: {
    createdAt: "createTime",
    updatedAt: "updateTime",
  },
};

export const jwtConfig = {
  secret: "myjwtsecret",
};
